﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PokemonBattle.BattleNetwork.Server
{
    public interface IPokemonBattleServerService
    {

        void OnLogon(int sessionID, string identity, BattleMode modeInfo, string versionInfo);

        void OnReceiveMove(int sessionID, PlayerMove move);

        void OnReceiveTeam(int sessionID, byte position, string identity, ByteSequence team);

        void OnExit(int sessionID, string identity);

        void OnTimeUp(int sessionID, string identity);

        void OnReceiveTieMessage(int sessionID, string identity, TieMessage message);

        void OnRegistObsever(int sessionID, int identity);

        void OnReceiveBattleInfo(int sessionID, BattleInfo info);

        void OnReceiveBattleSnapshot(int sessionID, BattleSnapshot snapshot);

    }
}
